﻿using Coldairarrow.Entity.PB;
using System;
using System.Collections.Generic;
using System.Text;

namespace Coldairarrow.Entity.DTO
{
    public class ProjectStatistics
    {
        /// <summary>
        /// 项目信息
        /// </summary>
        public ProjectInformation ProjectInfor { get; set; }
        /// <summary>
        /// 饼图
        /// </summary>
        public PieChart CargoRate { get; set; }
        /// <summary>
        /// 图片地址
        /// </summary>
        public ProjectImgUrl PictureAddress { get; set; }
        /// <summary>
        /// 项目进度
        /// </summary>
        public ProjectSchedule ProjectScheduleinfo { get; set; }
        /// <summary>
        /// 统计信息
        /// </summary>
        public List<StatisticalData> DataInfo { get; set; }


        public List<BuildingStatesList> buildingStatesLists { get; set; }
    }
    /// <summary>
    /// 统计信息
    /// </summary>
    public class StatisticalData
    {
        /// <summary>
        /// 楼号
        /// </summary>
        public string BuildingNumber { get; set; }
        /// <summary>
        /// 编号
        /// </summary>
        public string number { get; set; }
        /// <summary>
        /// 品名
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 设计数量
        /// </summary>
        public string DesignQuantity { get; set; }
        /// <summary>
        /// 已备数量
        /// </summary>
        public string PreparedQuantity { get; set; }
        /// <summary>
        /// 已发数量
        /// </summary>
        public string IssuedQuantity { get; set; }
        /// <summary>
        /// 回货数量
        /// </summary>
        public string ReturnQuantity { get; set; }
        /// <summary>
        /// 入库数量
        /// </summary>
        public string ReceiptQuantity { get; set; }
        /// <summary>
        /// 损坏数量
        /// </summary>
        public string DamageQuantity { get; set; }
        /// <summary>
        /// 回货率
        /// </summary>
        public string ReturnRate { get; set; }
        /// <summary>
        /// 损坏率
        /// </summary>
        public string DamageRate { get; set; }
        /// <summary>
        /// 回货数量
        /// </summary>
        public string ReturnNums { get; set; }
    }
    /// <summary>
    /// 项目信息
    /// </summary>
    public class ProjectInformation
    {
        /// <summary>
        /// 项目名称
        /// </summary>
        public string EntryName { get; set; }
        /// <summary>
        /// 项目周期
        /// </summary>
        public string ProjectCycle { get; set; }
        /// <summary>
        /// 负责人姓名
        /// </summary>
        public string PersonName { get; set; }
    }
    public class PieChart
    {
        /// <summary>
        /// 发货率
        /// </summary>
        public string DeliveryRate { get; set; }
        /// <summary>
        /// 回货率
        /// </summary>
        public string ReturnRate { get; set; }
    }
    /// <summary>
    /// 项目进度
    /// </summary>
    public class ProjectSchedule
    {
        /// <summary>
        /// 签订时间
        /// </summary>
        public string SigningTime { get; set; }
        /// <summary>
        /// 签订状态
        /// </summary>
        public string SigningState { get; set; }
        /// <summary>
        /// 签订百分比
        /// </summary>
        public string SigningPercentage { get; set; }
        /// <summary>
        /// 通知时间
        /// </summary>
        public string NotificationTime { get; set; }
        /// <summary>
        ///通知状态
        /// </summary>
        public string NotificationState { get; set; }
        /// <summary>
        /// 通知百分比
        /// </summary>
        public string NotificationPercentage { get; set; }
        /// <summary>
        ///备货时间
        /// </summary>
        public string PreparationTime { get; set; }
        /// <summary>
        /// 备货状态
        /// </summary>
        public string PreparationState { get; set; }
        /// <summary>
        /// 备货百分比
        /// </summary>
        public string PreparationPercentage { get; set; }
        /// <summary>
        /// 发货时间
        /// </summary>
        public string DeliveryTime { get; set; }
        /// <summary>
        /// 发货状态
        /// </summary>
        public string DeliveryState { get; set; }
        /// <summary>
        /// 发货百分比
        /// </summary>
        public string DeliveryPercentage { get; set; }
        /// <summary>
        /// 收货时间
        /// </summary>
        public string ReceivingTime { get; set; }
        /// <summary>
        ///收货状态
        /// </summary>
        public string ReceivingState { get; set; }
        /// <summary>
        /// 收货百分比
        /// </summary>
        public string ReceivingPercentage { get; set; }
        /// <summary>
        /// 回货时间
        /// </summary>
        public string ReturnTime { get; set; }
        /// <summary>
        /// 回货状态
        /// </summary>
        public string ReturnState { get; set; }
        /// <summary>
        ///回货百分比
        /// </summary>
        public string ReturnPercentage { get; set; }
        /// <summary>
        /// 关闭时间
        /// </summary>
        public string ClosingTime { get; set; }
        /// <summary>
        /// 关闭状态
        /// </summary>
        public string ClosingState { get; set; }
        /// <summary>
        ///关闭百分比
        /// </summary>
        public string ClosingPercentage { get; set; }
    }

    public class ProjectImgUrl {
        public string ProjectImg { get; set; }
    }
   
    public class BuildingStatesList {
        /// <summary>
        /// 楼号id
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 楼号
        /// </summary>
        public String BuildingNo { get; set; }

        public int? States { get; set; }
        public List<string> Images { get; set; }
        /// <summary>
        /// 楼栋信息技术负责人
        /// </summary>
        public string Name { get; set; }
    }
    public class Images {
        public string Image { get; set; }
    }
}
